package com.线程案例;

/**
 * @author: LI-CI-GAO
 * 作者: licigao
 * 日期: 2021/8/16  9:30
 * 描述:
 */
public class Test002 {

    public synchronized void test02(){
        System.out.println("++++++++++++++================");
    }


    public void test01(){
        synchronized (this){
            System.out.println("+++++++++++++++++++");
        }
    }

}
